package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {


    void add(ShoppingCartDTO dto);

    List<ShoppingCart> list(Long currentId);

    void subOne(ShoppingCartDTO dto);

    void delAll(Long currentId);
}
